home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / wb / czesc_4 / vark15 / utils a-o / crbexec.lha / crbexec / infom.doc < prev    next >
Text File  |  1996-06-25  |  1KB  |  51 lines

  1.  
  2. InfoMachine v1.0
  3. (c) copyright 1994 by Charles Bloom
  4.  
  5.  
  6. InfoMachine runs based on a user-created configfile.
  7. This config file is very straightforward and easy to use.
  8. The config file must always be in "ENV:InfoM.cfg", however the version you
  9. edit should be the copy in ENVARC:
  10.  
  11. The format is as follows:
  12.  
  13.  
  14. <ExecDOName>
  15. <DirDOName>
  16. <DefaultDOName>
  17. <DOName>
  18. <Pattern>
  19. <DOName>
  20. <Pattern>
  21. <DOName>
  22. <Pattern>
  23. ...
  24.  
  25. The <..DOName> lines are the filename for an icon (WITHOUT the .info)
  26. The first line <ExecDOName> contains the name of the icon to write for
  27.     executeable AmigaDOS programs
  28. the second line <DirDOName> contains the name of the icon to write for
  29.     directories (drawers)
  30. The following lines contain a variable number of icons and patterns.  These
  31.     patterns can be used to match filename-extensions to an icon.  The icon's
  32.     name always precedes the pattern which will match it.
  33.     You can make one icon match multiple patterns by using the | operator
  34.     (see the AmigaDOS manual for more information on wildcards)
  35. the <DefailtDOName> is the icon which is written if no other matches are
  36.     found
  37.  
  38. And example config file:
  39.  
  40. sys:icons/exec
  41. sys:icons/drawer
  42. sys:icons/data
  43. sys:icons/pic
  44. ((#?.iff)|(#?.ilbm))
  45. sys:icons/source
  46. ((#?.c)|(#?.h))
  47.  
  48. tada!
  49. All pattern matching is case-insensitive, so a .C file and a .c file would
  50. both get the "source" icon.
  51.